package com.javatom.notes.seata.xa.order.service.impl;


import com.javatom.notes.seata.xa.order.mapper.OrderMapper;
import com.javatom.notes.seata.xa.order.pojo.OrderPojo;
import com.javatom.notes.seata.xa.order.service.OrderService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @description:
 * @author: 曾维录
 * @time: 2020/8/19 15:16
 */
@Slf4j
@Service

public class OrderServiceImpl implements OrderService {
    @Resource
    private OrderMapper orderMapper;


    @Override
    public int insert(OrderPojo orderPojo) {
        return orderMapper.insert(orderPojo);
    }
}
